home *** CD-ROM | disk | FTP | other *** search
- on prepareMovie
- castLib("images").preloadMode = 1
- castLib("sharedimg").preloadMode = 1
- end
-
- on startMovie
- global gProjWinName, gMaxVolLevel, preloadFlag
- dosSetFrontWindow(gProjWinName)
- sound(1).stop()
- sound(2).stop()
- sound(3).stop()
- sound(4).stop()
- sound(5).stop()
- sound(6).stop()
- sound(7).stop()
- sound(8).stop()
- if the platform contains "mac" then
- tval = "mac"
- else
- tval = "win"
- end if
- castLib("vid").fileName = the moviePath & "vid" & tval
- startTimer()
- gMaxVolLevel = 175
- preloadFlag = 0
- sound(1).volume = 0
- sound(1).queue([#member: member("speakers_on"), #preloadTime: 1000])
- set the keyDownScript to "theKeyDown"
- the timeOutList = []
- go("check")
- end
-